package learningtests;

import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.jdom.Document;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;
import org.junit.Ignore;
import org.junit.Test;

import com.megadict.test.toolbox.samples.XmlDocumentReader;


import static org.junit.Assert.*;


public class JdomLearning {
  
    private File profile = new File("C:/test/template/ut/test.xml");
    
    @Test
    public void testLoadSampleWords() {
       XmlDocumentReader reader = new XmlDocumentReader(profile);
       
       String content = reader.getValueOf("test/index");
       
       assertNotNull(content);
       
       System.out.println(content);
    }
    
}
